package datasort.sorters;

/**
 * Created with IntelliJ IDEA.
 * User: platonovv
 * Date: 31.10.13
 */
public interface DataSorter<T> {
    /**
     * Return the sorted array of data items provided.
     *
     * @return the sorted array of data items provided.
     */
    public T[] sort(T[] data);

    public T[] sort(T[] data, SortType type);
}